/*trade header ---- start*/
body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
}

#addimg {
  position: fixed;
  z-index: -1;
  opacity: 0;
  width: 0.9rem;
}

.trade-header {
  position: relative;
  height: calc(100vh - 7.9rem);
  width: 100%;
  z-index: 1;
}

.hb {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: calc(100vh - 7.58rem);
}

.hb .hb-con {
  position: relative;
  bottom: 25%;
  left: 0;
  height: 8.65rem;
  width: 100%;
}

.hb .hb-bg {
  height: 100%;
  width: 100%;
}

.hb .move-pet {
  position: absolute;
  bottom: 0.8rem;
  right: 0;
  left: 0;
  margin: auto;
  height: auto;
  width: 30vw;
}

.trade-header .top-total {
  position: absolute;
  top: 0.6rem;
  /* top: 0.28rem; */
  left: 0;
  display: flex;
}

.trade-header .count {
  margin-left: 0.32rem;
  position: relative;
  display: flex;
  background-color: #fff;
  border-radius: 0.32rem;
  width: 2.33rem;
  height: 0.63rem;
  -moz-box-shadow: 0px 2px 5px rgba(153, 153, 153, 0.3);
  -webkit-box-shadow: 0px 2px 5px rgba(153, 153, 153, 0.3);
  box-shadow: 0px 2px 5px rgba(153, 153, 153, 0.3);
}

.trade-header .count .radius {
  display: flex;
  position: relative;
  width: 0.7rem;
  z-index: 2;
  justify-content: center;
  align-items: center;
}

.trade-header .count .radius img {
  height: 0.47rem;
  width: 0.47rem;
}

.trade-header .count.mi-award .radius img {
  height: 0.35rem;
  width: 0.42rem;
}

.trade-header .count .count-con {
  margin-left: 0.05rem;
  width: 1.5rem;
  border-radius: 20px;
  text-indent: 0.03rem;
}

.trade-header .count .sum {
  font-size: 0.26rem;
  font-weight: bold;
  color: #eec618;
}

.trade-header .count.mi-award .sum {
  color: #de6a52;
}

.trade-header .count .time {
  margin-top: 0.08rem;
  font-size: 0.17rem;
  color: #333;
}

.trade-header .total {
  display: flex;
}

.trade-header .total.bottom-total {
  position: absolute;
  top: 1.53rem;
  /* top: 1.21rem; */
  left: 0;
}

.trade-header .total.bottom-total .total-item {
  margin-left: 0.32rem;
}

.trade-header .top-total .total-item img {
  margin-bottom: 0.1rem;
}

.trade-header .total-item {
  position: relative;
  display: flex;
  margin-left: 0.32rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #fff;
  justify-content: center;
  align-items: center;
}

.trade-header .top-total .total-item {
  box-shadow: 0px 2px 10px #61a5c9;
}

.trade-header .bottom-total .total-item {
  width: 0.57rem;
  height: 0.66rem;
  background-color: transparent;
}

.trade-header .bottom-total .total-item img {
  width: 100%;
  height: 100%;
}

.trade-header .total-item img {
  width: 0.3rem;
  height: auto;
}

/* .trade-header .total-item:nth-child(1) img,
.trade-header .total-item:nth-child(2) img {
  width: 0.32rem;
} */

.trade-header .total-item .name {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -0.09rem;
  left: -2.5%;
  width: 105%;
  font-size: 0.2rem;
  color: #333;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
  text-align: center;
  padding: 0.02rem 0 !important;
}

.trade-header .total-item .name.red-name {
  border: 1px solid #fff;
  text-shadow: none;
  color: #333;
  background-color: #fff;
  border-radius: 4px;
  font-size: 0.17rem;
}

.trade-header .total-item .name.yellow-name {
  border: 1px solid #fff;
  background-color: #fff;
  text-shadow: none;
  color: #333;
  border-radius: 4px;
  font-size: 0.17rem;
}

.trade-header .total-item.on .name.red-name {
  border: 1px solid #bb4d36;
  background-color: #bb4d36;
  color: #fff;
  padding-top: 0;
}

.trade-header .total-item.on .name.yellow-name {
  border: 1px solid #e0bb13;
  background-color: #e0bb13;
  color: #fff;
  padding-top: 0;
}

/*trade header ---- end*/

/*trade content ---- start*/
.trade-con {
  position: relative;
  z-index: 1;
}

.trade-con .con-header {
  display: flex;
  align-items: center;
  background: url("../imgs/tbg.png") no-repeat center center / 100% 100%;
  height: 1.11rem;
  justify-content: center;
}

.trade-con .flex {
  height: 0.56rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trade-con .con-header .warehouse {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trade-con .con-header .con-center {
  margin: 0 0.5rem;
  height: 0.7rem;
  width: 2rem;
  background: #e06c53;
  border: 2px solid #bb4639;
  border-radius: 30px;
  text-align: center;
}

.trade-con .con-header .h-name {
  font-size: 0.2rem;
  color: #fff;
}

.trade-con .con-header .num {
  color: #fff;
  font-size: 0.24rem;
  font-weight: bold;
  margin-top: 0.08rem;
}

.trade-con .con-header img {
  width: 0.3rem;
  height: 0.3rem;
}

.trade-con .con-header .name {
  font-size: 0.3rem;
  margin-left: 0.1rem;
  color: #333;
  font-weight: bold;
}

.trade-con .con-header .con-left {
  margin-left: 0.21rem;
  width: 2.5rem;
  background-color: #fafafc;
  border-radius: 28px;
}

.trade-con .con-header .con-right {
  margin-right: 0.21rem;
  background-color: #fafafc;
  border-radius: 28px;
  width: 2.5rem;
}

.grid-wrap {
  margin: -0.01rem auto 0.21rem;
  padding: 0 0.21rem 0;
  width: 7.5rem;
  box-sizing: border-box;
  background-color: #fff;
}

.grid-wrap .rows {
  width: 100%;
  display: flex;
}

.grid-wrap .row-item {
  position: relative;
  width: 1.67rem;
  height: 1.67rem;
  text-align: center;
  background: #fafafc;
  /* background-color: #0202c1; */
  border-radius: 0.3rem;
  margin: 0.14rem 0.14rem 0 0;
  box-sizing: border-box;
}

.grid-wrap .rows:first-child .row-item {
  margin-top: 0;
}

.grid-wrap .row-item:last-child {
  margin-right: 0;
}

.grid-wrap .row-item .money {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10%;
  width: 100%;
  font-size: 0.3rem;
  color: #eec618;
  height: 0.4rem;
  z-index: 22222;
  font-weight: bold;
}

.grid-wrap .move-ele {
  position: absolute;
  left: 0rem;
  top: 0rem;
  right: 0rem;
  bottom: 0rem;
  margin: auto;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.grid-wrap .animal {
  margin: 0.28rem auto 0;
  display: block;
  height: auto;
  width: 1.11rem;
}

.grid-wrap .timer {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: .8rem;
  height: 0.25rem;
  z-index: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  line-height: 0.25rem;
  border-radius: 5px;
  font-size: 0.2rem;
}

.grid-wrap .num {
  display: block;
  width: 0.6rem;
  height: 0.28rem;
  z-index: 1;
  color: #fff;
  background: #eec618;
  text-align: center;
  line-height: 0.29rem;
  border-radius: 10px;
  font-size: 0.23rem;
}

.grid-wrap .num.small {
  font-size: 0.22rem;
}

/*trade content ---- end*/

/*trade ---- start*/
.trader {
  display: flex;
  height: 1.04rem;
  text-align: center;
  padding: 0 0.21rem 0.28rem;
  justify-items: center;
  align-items: center;
  background-color: #fff;
}

.trader .center {
  margin: 0 0.14rem;
  width: 3.47rem;
  background: url("../imgs/b-bg.png") no-repeat center center/100% 100%;
  border-radius: 75px;
  font-size: 0.3rem;
  line-height: 100%;
  height: 1.04rem;
  box-sizing: border-box;
  color: #fff;
  border: none;
  outline: none;
}

.trader .center img {
  margin-right: 0.14rem;
  width: 0.5rem;
  height: 0.55rem;
}

.trader .center .num {
  margin-right: 0.07rem;
  width: 0.28rem;
  height: 0.21rem;
  line-height: 0.21rem;
  background-color: #fff;
  color: #ebc519;
  font-size: 0.18rem;
  border-radius: 0.03rem;
}

.trader .center .right-bottom {
  margin-top: 0.08rem;
  height: 0.35rem;
  width: 1.55rem;
  background-color: #dcb711;
  border-radius: 0.03rem;
  color: #fff;
  font-weight: bold;
}

.trader .center .i-money {
  margin-left: 0.08rem;
  margin-right: 0.08rem;
  width: 0.21rem;
  height: 0.21rem;
}

.trader .center .name {
  font-size: 0.21rem;
}

.trader .item {
  display: block;
  width: 1.04rem;
  text-align: center;
  background-color: #fcf9fc;
}

.trader .model {
  width: 1.6rem;
  height: 1.04rem;
  background: url("../imgs/model.png") no-repeat center center / 0.7rem 0.7rem;
  background-color: #fafafc;
  border-radius: 18px;
}

.trader .delete {
  width: 1.6rem;
  height: 1.04rem;
  background: url("../imgs/del.png") no-repeat center center / 0.7rem 0.7rem;
  background-color: #fafafc;
  border-radius: 18px;
}

/*trade ---- end*/

/* footer ---- end*/
.footer {
  margin-top: 1vh;
  display: flex;
  height: 6vh;
  box-shadow: 3px -3px 3px #ececec;
  background: #fff;
}

.footer .footer-item {
  height: 6vh;
  flex: 1;
}

.footer .footer-item .name {
  font-size: 0.25rem;
  color: #4d4d4d;
}

.footer .footer-item img {
  background-color: #ebc519;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
  display: block;
  width: 0.4rem;
  height: 0.4rem;
}

/* footer ---- end*/